package com.guigu.ssyx.product.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.atguigu.ssyx.model.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 城市仓库关联表
 * </p>
 *
 * @author liuyang
 * @since 2025-09-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("region_ware")
@ApiModel(value="RegionWare对象", description="城市仓库关联表")
public class RegionWare extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "开通区域")
    @TableField("region")
    private String region;

    @ApiModelProperty(value = "区域名称")
    @TableField("region_name")
    private String regionName;

    @ApiModelProperty(value = "仓库")
    @TableField("ware_id")
    private Long wareId;

    @ApiModelProperty(value = "仓库名称")
    @TableField("ware_name")
    private String wareName;



    @ApiModelProperty(value = "删除标记（0:不可用 1:可用）")
    @TableField("is_deleted")
    private Integer isDeleted;


}
